.class Lcom/waiqin365/lightapp/kehu/r;
.super Landroid/os/Handler;


# instance fields
.field final synthetic a:Lcom/waiqin365/lightapp/kehu/CMAddNewContactActivity;


# direct methods
.method constructor <init>(Lcom/waiqin365/lightapp/kehu/CMAddNewContactActivity;)V
    .locals 0

    iput-object p1, p0, Lcom/waiqin365/lightapp/kehu/r;->a:Lcom/waiqin365/lightapp/kehu/CMAddNewContactActivity;

    invoke-direct {p0}, Landroid/os/Handler;-><init>()V

    return-void
.end method


# virtual methods
.method public handleMessage(Landroid/os/Message;)V
    .locals 4

    invoke-super {p0, p1}, Landroid/os/Handler;->handleMessage(Landroid/os/Message;)V

    iget v0, p1, Landroid/os/Message;->what:I

    packed-switch v0, :pswitch_data_0

    :goto_0
    return-void

    :pswitch_0
    iget-object v0, p1, Landroid/os/Message;->obj:Ljava/lang/Object;

    check-cast v0, Lcom/waiqin365/lightapp/kehu/a/a/bf;

    invoke-virtual {v0}, Lcom/waiqin365/lightapp/kehu/a/a/bf;->b()Z

    move-result v1

    if-eqz v1, :cond_0

    iget-object v1, p0, Lcom/waiqin365/lightapp/kehu/r;->a:Lcom/waiqin365/lightapp/kehu/CMAddNewContactActivity;

    iget-object v2, v0, Lcom/waiqin365/lightapp/kehu/a/a/bf;->d:Ljava/lang/String;

    invoke-static {v1, v2}, Lcom/waiqin365/lightapp/kehu/CMAddNewContactActivity;->a(Lcom/waiqin365/lightapp/kehu/CMAddNewContactActivity;Ljava/lang/String;)Ljava/lang/String;

    iget-object v1, p0, Lcom/waiqin365/lightapp/kehu/r;->a:Lcom/waiqin365/lightapp/kehu/CMAddNewContactActivity;

    iget-object v2, v0, Lcom/waiqin365/lightapp/kehu/a/a/bf;->e:Ljava/lang/String;

    invoke-static {v1, v2}, Lcom/waiqin365/lightapp/kehu/CMAddNewContactActivity;->b(Lcom/waiqin365/lightapp/kehu/CMAddNewContactActivity;Ljava/lang/String;)Ljava/lang/String;

    iget-object v1, p0, Lcom/waiqin365/lightapp/kehu/r;->a:Lcom/waiqin365/lightapp/kehu/CMAddNewContactActivity;

    invoke-static {v1}, Lcom/waiqin365/lightapp/kehu/CMAddNewContactActivity;->a(Lcom/waiqin365/lightapp/kehu/CMAddNewContactActivity;)Ljava/lang/String;

    move-result-object v1

    if-eqz v1, :cond_1

    const-string/jumbo v1, "1"

    iget-object v2, p0, Lcom/waiqin365/lightapp/kehu/r;->a:Lcom/waiqin365/lightapp/kehu/CMAddNewContactActivity;

    invoke-static {v2}, Lcom/waiqin365/lightapp/kehu/CMAddNewContactActivity;->a(Lcom/waiqin365/lightapp/kehu/CMAddNewContactActivity;)Ljava/lang/String;

    move-result-object v2

    invoke-virtual {v1, v2}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v1

    if-eqz v1, :cond_1

    iget-object v1, p0, Lcom/waiqin365/lightapp/kehu/r;->a:Lcom/waiqin365/lightapp/kehu/CMAddNewContactActivity;

    const-string/jumbo v2, "linkman"

    invoke-static {v1, v2}, Lcom/fiberhome/gaea/client/d/a;->a(Landroid/content/Context;Ljava/lang/String;)V

    iget-object v1, p0, Lcom/waiqin365/lightapp/kehu/r;->a:Lcom/waiqin365/lightapp/kehu/CMAddNewContactActivity;

    invoke-virtual {v1}, Lcom/waiqin365/lightapp/kehu/CMAddNewContactActivity;->dismissProgressDialog()V

    iget-object v1, p0, Lcom/waiqin365/lightapp/kehu/r;->a:Lcom/waiqin365/lightapp/kehu/CMAddNewContactActivity;

    iget-object v2, p0, Lcom/waiqin365/lightapp/kehu/r;->a:Lcom/waiqin365/lightapp/kehu/CMAddNewContactActivity;

    invoke-static {v2}, Lcom/waiqin365/lightapp/kehu/CMAddNewContactActivity;->b(Lcom/waiqin365/lightapp/kehu/CMAddNewContactActivity;)Ljava/lang/String;

    move-result-object v2

    iget-object v0, v0, Lcom/waiqin365/lightapp/kehu/a/a/bf;->f:Ljava/lang/String;

    const/4 v3, 0x1

    invoke-static {v1, v2, v0, v3}, Lcom/waiqin365/lightapp/kehu/CMAddNewContactActivity;->a(Lcom/waiqin365/lightapp/kehu/CMAddNewContactActivity;Ljava/lang/String;Ljava/lang/String;Z)V

    :cond_0
    :goto_1
    iget-object v0, p0, Lcom/waiqin365/lightapp/kehu/r;->a:Lcom/waiqin365/lightapp/kehu/CMAddNewContactActivity;

    invoke-virtual {v0}, Lcom/waiqin365/lightapp/kehu/CMAddNewContactActivity;->dismissProgressDialog()V

    goto :goto_0

    :cond_1
    iget-object v0, p0, Lcom/waiqin365/lightapp/kehu/r;->a:Lcom/waiqin365/lightapp/kehu/CMAddNewContactActivity;

    invoke-virtual {v0}, Lcom/waiqin365/lightapp/kehu/CMAddNewContactActivity;->dismissProgressDialog()V

    iget-object v0, p0, Lcom/waiqin365/lightapp/kehu/r;->a:Lcom/waiqin365/lightapp/kehu/CMAddNewContactActivity;

    iget-object v1, p0, Lcom/waiqin365/lightapp/kehu/r;->a:Lcom/waiqin365/lightapp/kehu/CMAddNewContactActivity;

    invoke-static {v1}, Lcom/waiqin365/lightapp/kehu/CMAddNewContactActivity;->b(Lcom/waiqin365/lightapp/kehu/CMAddNewContactActivity;)Ljava/lang/String;

    move-result-object v1

    const-string/jumbo v2, "0"

    const/4 v3, 0x0

    invoke-static {v0, v1, v2, v3}, Lcom/waiqin365/lightapp/kehu/CMAddNewContactActivity;->a(Lcom/waiqin365/lightapp/kehu/CMAddNewContactActivity;Ljava/lang/String;Ljava/lang/String;Z)V

    goto :goto_1

    :pswitch_data_0
    .packed-switch 0x5
        :pswitch_0
    .end packed-switch
.end method
